package com.gm.cards.domain;

public class Card {

    private int weight;

    private int positionOnDeck;

    private Suit suit;

    private Number number;

    public Card(Number number, Suit suit, int positionOnDeck) {
	this.number = number;
	this.weight = number.getDefaultWeight();
	this.suit = suit;
	this.positionOnDeck = positionOnDeck;
    }

    public int getWeight() {
	return weight;
    }

    public void setWeight(int weight) {
	this.weight = weight;
    }

    public Suit getSuit() {
	return suit;
    }

    public void setSuit(Suit suit) {
	this.suit = suit;
    }

    public Number getNumber() {
	return number;
    }

    public void setNumber(Number number) {
	this.number = number;
    }

    public int getPositionOnDeck() {
	return positionOnDeck;
    }

    public void setPositionOnDeck(int positionOnDeck) {
	this.positionOnDeck = positionOnDeck;
    }
}
